<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>    
<script type="text/javascript">
	
</script>
<style>
table td{
word-break: keep-all;
white-space:nowrap;
}
table th{
word-break: keep-all;
white-space:nowrap;
}
</style>
<div class="pageHeader" style="background:white">
	<form rel = "pagerForm" onsubmit="return dwzSearch(this, 'dialog');" action="${path }/um/user!lookUpUser.action" method="post">

	<div class="searchBar">
			<table class="pageFormContent">
			<tr>
				<td>
					<label>姓名：</label>
					<input type="text" name="filter_and_userName_LIKE_S" value="${filter_and_userName_LIKE_S}" />
				</td>
				<td>
					<label>部门：</label>
					<%-- <input type="text" name="filter_and_deptName_LIKE_S" value="${filter_and_deptName_LIKE_S}" /> --%>
					<select class="required" name="filter_and_deptId_LIKE_S" rel="iselect" class="required" loadUrl="${path}/um/dept!treeRegion.action">
						<option value="${filter_and_deptId_LIKE_S }"></option>
					</select>
				</td>
				</tr>
				<tr>
				<td>
				<div class="buttonActive"><div class="buttonContent" style="width: 33px;"><button type="submit">查找</button></div></div>
				</td>
            </tr>
		</table>
		
	</div>
	</form>
</div>
<div class="pageContent">
<div class="panelBar">
		<ul class="toolBar">
		</ul>
		<jsp:include page="/common/paginationDialog.jsp" />	
	</div>
<table class="table" width="100%" layoutH="150">
	<thead>
		<tr>
			<th style="width: 50px">带回</th>
			<th>姓名</th>
			<th>部门</th>
		</tr>
	</thead>
	<tbody>
	<c:forEach items="${ page.results }" var="user" varStatus="status">
		<tr  target="sid_user">
			<td>
			<a class="btnSelect" href="javascript:$.bringBack({id:'${user.id }', userName:'${user.userName }',deptId:'${user.deptId }',deptName:'${user.deptName }'})" title="查找带回">选择</a>${ status.count }
			</td>
			<td>${user.userName}</td>
			<td>${user.deptName}</td>
		</tr>
	</c:forEach>
	</tbody>
</table>
</div>